package com.shimao.celnet.payment.service.apiservice;


import com.baiwang.bop.client.IBopClient;
import com.baiwang.bop.request.impl.invoice.impl.InvoiceOpenRequest;
import com.shimao.celnet.payment.model.PInvoiceBlue;
import com.shimao.celnet.payment.model.PInvoiceRed;
import com.shimao.celnet.payment.model.request.SCodeNameConstant;

import java.util.Map;

public interface CallOut_invOpenOutService {
    //登录授权，获取token
     String getToken();
    //通过guid查询开红票记录
     PInvoiceRed getPInvoiceRed(String guid);
    //通过guid查询开蓝票记录
     PInvoiceBlue getPInvoiceBlue(String guid);

     InvoiceOpenRequest makeRequestClass(Map map);
    /**
     * 获取百望配置信息
     */
     SCodeNameConstant getBwSettingInfo();
    /**
     * 获取百望连接的客户端
     * @return
     */
     IBopClient getClient();
}
